#ifndef DDAS_CLIENT_SETUP_H 
#define DDAS_CLIENT_SETUP_H 

#include "ddas_client_io.h"

//CONVERTORS
char* ddas_verylong_to_binary_char(verylong decimal_value);

//GETTERS
int ddas_get_one_columns_count(verylong decimal_value);
gsl_matrix* ddas_get_appropriate_independent_columns(verylong iteration);

//MATRIX RELATED
void ddas_populate_current_matrix(gsl_matrix* current, int* decimal_value);
void ddas_populate_independent_matrix();
void ddas_populate_dependent_vector();

//RESULT HANDLERS
gsl_vector* ddas_get_top_results(gsl_vector* chi_results);
gsl_vector* ddas_get_top_result_indices(gsl_vector* chi_results);
bool ddas_keep_candidate_sse(DDAS_CLIENT_RESULT_SET*, double);

#endif
